<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>歌谣动画</title>
    <style>
        body, html {
            height: 100%;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #f0f0f0;
            color: #000;
            font-family: Arial, sans-serif;
            flex-direction: column;
            overflow: hidden; /* 防止雪花溢出页面 */
        }
        .title {
            margin-top: 24px;
            font-size: 40px;
            font-weight: bold;
            margin-bottom: 24px;
            text-align: center;
            background: linear-gradient(90deg, #00bfff, #ff4da6);
            -webkit-background-clip: text;
            color: transparent;
        }
        .animation {
            margin-top: 24px;
            font-size: 32px;
            font-weight: bold;
            text-transform: uppercase;
            background: linear-gradient(90deg, #00bfff, #ff4da6);
            -webkit-background-clip: text;
            color: transparent;
        }
        .wechat {
            margin-top: 24px;
            font-size: 24px;
            margin-top: 10px;
            background: linear-gradient(90deg, #00bfff, #ff4da6); /* 设置渐变色 */
            -webkit-background-clip: text; /* 使文字显示渐变色 */
            color: transparent; /* 使文字透明，显示背景渐变色 */
        }
        @keyframes glow {
            0% {
                text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
            }
            100% {
                text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
            }
        }
        /* 雪花飘落动画 */
        .snowflake {
            position: absolute;
            top: -10%;
            width: 10px;
            height: 10px;
            background: white;
            border-radius: 50%;
            filter: blur(1px);
            animation: fall linear infinite;
        }
        @keyframes fall {
            to {
                transform: translateY(100vh);
            }
        }
    </style>
</head>
<body>
    <div class="title">前端面试题146:<br/>网页端扫码<br/>登录的实现过程</div>
        <div>
        <!-- <div class="title">工作实战教程6:</br>vue2+ele建立</br>router公共文件</br> -->
    <div class="animation">关注我</div>
    <div class="wechat">主页有粉丝群</div>
    <!-- 生成雪花 -->
    <script>
        // function createSnowflake() {
        //     const snowflake = document.createElement('div');
        //     snowflake.classList.add('snowflake');
        //     snowflake.style.left = Math.random() * 100 + 'vw';
        //     snowflake.style.animationDuration = Math.random() * 3 + 2 + 's';
        //     snowflake.style.opacity = Math.random();
        //     snowflake.style.width = snowflake.style.height = Math.random() * 10 + 5 + 'px';
        //     document.body.appendChild(snowflake);
        //     setTimeout(() => {
        //         snowflake.remove();
        //     }, 5000);
        // }
        // setInterval(createSnowflake, 100);
    </script>
</body>
</html>

